﻿#ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H

#include <QDialog>
#include "widget.h"

namespace Ui {
class PasswordDialog;
}

class PasswordDialog : public QDialog
{
	Q_OBJECT

private:
	Ui::PasswordDialog *ui;

private slots:
	void on_password_textEdited(const QString &text);

protected:
	void changeEvent(QEvent *e);

public:
	explicit PasswordDialog(const QString &fileName, CenteredWidget *parent = 0);
	~PasswordDialog();
	QByteArray password ();

public slots:

};

#endif // PASSWORDDIALOG_H
